{% extends "base.html" %}
{% load i18n %}
{% block extrahead %}
{% load theme %}
{% theme_css "jquery.lightbox" %}
{% theme_js "jquery.lightbox" %}
{% theme_css "photo"%}
{% endblock %}
{% block title %}{{ object.title }}{% endblock %}

{% block content %}

<h1>{{ object.title }}</h1>
<h2>{% trans "Originally published" %} {{ object.date_added|date:"l, F jS, Y" }}</h2>
{% if object.description %}<p>{{ object.description }}</p>{% endif %}
<div class="photo-gallery">
    {% for photo in object.public %}
    <div class="gallery-photo">
        <a href="{{ photo.get_display_url }}" rel="lightbox-{{photo.gallery}}" title="{{ photo.title }}"><img src="{{ photo.get_thumbnail_url }}" alt="{{ photo.title }}"/></a>
    </div>
    {% endfor %}
</div>
<br/>
<p><a href="{% url pl-gallery-list 1 %}">{% trans "View all galleries." %}</a></p>

{% endblock %}
